HTMLify
style.css
Views: 7 | Author: cody
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
background-color: #141414;
color: #000;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.add {
position: fixed;
top: 1rem;
right: 1rem;
background-color: #9ec862;
color: #fff;
border: none;
border-radius: 3px;
padding: 0.5rem 1rem;
cursor: pointer;
}
.add:active {
transform: scale(0.98);
}
.note {
position: relative;
background-color: #fff;
box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
margin: 30px 20px;
height: 400px;
width: 400px;
padding: 45px 15px 15px 15px;
overflow-y: visible;
}
.note .tools {
position: absolute;
background-color: #9ec862;
display: flex;
justify-content: flex-end;
padding: 0.5rem;
top: 0;
left: 0;
right: 0;
}
.note .tools button {
background-color: transparent;
border: none;
color: #fff;
cursor: pointer;
font-size: 1rem;
margin-left: 0.5rem;
}
.note textarea {
outline: none;
font-family: inherit;
font-size: 1.2rem;
border: none;
height: 100%;
width: 100%;
}
.hidden {
display: none;
}